import 'package:flutter/material.dart';
import 'package:wechat/common/wechat_item.dart';

class Found extends StatefulWidget {
  const Found({super.key});

  @override
  State<Found> createState() => _FoundState();
}

class _FoundState extends State<Found> {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      body: ListView(
        children: [
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const WeChatItem(
              title: "朋友圈",
              imagePath: 'images/icon_friends.png',
            ),
          ),
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const Column(
              children: [
                WeChatItem(
                  title: "扫一扫",
                  imagePath: 'images/icon_scan.png',
                ),
                Padding(
                  padding: EdgeInsets.only(left: 15, right: 15),
                  child: Divider(
                    height: 0.5,
                    color: Color(0xFFdddddd),
                  ),
                ),
                WeChatItem(
                  title: "摇一摇",
                  imagePath: 'images/icon_shake.png',
                ),
              ],
            ),
          ),
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const Column(
              children: [
                WeChatItem(
                  title: "看一看",
                  imagePath: 'images/icon_look.png',
                ),
                Padding(
                  padding: EdgeInsets.only(left: 15, right: 15),
                  child: Divider(
                    height: 0.5,
                    color: Color(0xFFdddddd),
                  ),
                ),
                WeChatItem(
                  title: "搜一搜",
                  imagePath: 'images/icon_search.png',
                ),
              ],
            ),
          ),
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const Column(
              children: [
                WeChatItem(
                  title: "附近的人",
                  imagePath: 'images/icon_near.png',
                ),
                Padding(
                  padding: EdgeInsets.only(left: 15, right: 15),
                  child: Divider(
                    height: 0.5,
                    color: Color(0xFFdddddd),
                  ),
                ),
                WeChatItem(
                  title: "漂流瓶",
                  imagePath: 'images/icon_bottle.png',
                ),
              ],
            ),
          ),
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const Column(
              children: [
                WeChatItem(
                  title: "购物",
                  imagePath: 'images/icon_shop.png',
                ),
                Padding(
                  padding: EdgeInsets.only(left: 15, right: 15),
                  child: Divider(
                    height: 0.5,
                    color: Color(0xFFdddddd),
                  ),
                ),
                WeChatItem(
                  title: "游戏",
                  imagePath: 'images/icon_game.png',
                ),
              ],
            ),
          ),
          Container(
            margin: const EdgeInsets.only(top: 20),
            color: Colors.white,
            child: const WeChatItem(
              title: "小程序",
              imagePath: 'images/icon_link.png',
            ),
          ),
        ],
      ),
    );
  }
}
